package com.sl.mes.db.dao;

import com.sl.mes.db.vo.MesGoodsProduct;
import com.sl.mes.db.vo.MesGoodsProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MesGoodsProductMapper {
    long countByExample(MesGoodsProductExample example);

    int deleteByExample(MesGoodsProductExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MesGoodsProduct record);

    int insertSelective(MesGoodsProduct record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_product
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsProduct selectOneByExample(MesGoodsProductExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_product
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsProduct selectOneByExampleSelective(@Param("example") MesGoodsProductExample example, @Param("selective") MesGoodsProduct.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_product
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<MesGoodsProduct> selectByExampleSelective(@Param("example") MesGoodsProductExample example, @Param("selective") MesGoodsProduct.Column ... selective);

    List<MesGoodsProduct> selectByExample(MesGoodsProductExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_product
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsProduct selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") MesGoodsProduct.Column ... selective);

    MesGoodsProduct selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_product
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsProduct selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") MesGoodsProduct record, @Param("example") MesGoodsProductExample example);

    int updateByExample(@Param("record") MesGoodsProduct record, @Param("example") MesGoodsProductExample example);

    int updateByPrimaryKeySelective(MesGoodsProduct record);

    int updateByPrimaryKey(MesGoodsProduct record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_product
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByExample(@Param("example") MesGoodsProductExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_product
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByPrimaryKey(Integer id);
}